package com.cloudlead.commonData.query;

import static com.mysema.query.types.PathMetadataFactory.*;
import com.cloudlead.commonData.entity.ETbMoudel;


import com.mysema.query.types.path.*;

import com.mysema.query.types.PathMetadata;
import javax.annotation.Generated;
import com.mysema.query.types.Path;

import com.mysema.query.sql.ColumnMetadata;
import java.sql.Types;

import com.mysema.query.sql.*;

import com.cloudlead.common.lang.annotation.Label;


/**
 * QTbMoudel is a Querydsl query type for ETbMoudel
 */
@Label("平台模块表查询")
@Generated("com.cloudlead.utils.persistence.codegen.serializer.SimpleMetaDataSerializer")
public class QTbMoudel extends RelationalPathBase<ETbMoudel> {

    private static final long serialVersionUID = 430851023;

    public static final QTbMoudel tbMoudel = new QTbMoudel("tb_moudel");

    public class PrimaryKeys {

        public final PrimaryKey<ETbMoudel> primary = createPrimaryKey(id);

    }

    public final StringPath commont = createString("commont");

    public final StringPath flag = createString("flag");

    public final StringPath id = createString("id");

    public final StringPath moudelName = createString("moudelName");

    public final PrimaryKeys pk = new PrimaryKeys();

    public QTbMoudel(String variable) {
        super(ETbMoudel.class, forVariable(variable), "null", "tb_moudel");
        addMetadata();
    }

    public QTbMoudel(String variable, String schema, String table) {
        super(ETbMoudel.class, forVariable(variable), schema, table);
        addMetadata();
    }

    public QTbMoudel(Path<? extends ETbMoudel> path) {
        super(path.getType(), path.getMetadata(), "null", "tb_moudel");
        addMetadata();
    }

    public QTbMoudel(PathMetadata<?> metadata) {
        super(ETbMoudel.class, metadata, "null", "tb_moudel");
        addMetadata();
    }

    public void addMetadata() {
        addMetadata(commont, ColumnMetadata.named("commont").withIndex(3).ofType(Types.VARCHAR).withSize(256));
        addMetadata(flag, ColumnMetadata.named("flag").withIndex(4).ofType(Types.VARCHAR).withSize(8));
        addMetadata(id, ColumnMetadata.named("id").withIndex(1).ofType(Types.CHAR).withSize(24).notNull());
        addMetadata(moudelName, ColumnMetadata.named("moudelName").withIndex(2).ofType(Types.VARCHAR).withSize(45));
    }

}

